package com.ruoyi.project.system.mapper;

import com.ruoyi.project.system.domain.SysDate;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface SysDateMapper {
    List<SysDate> selectDateList(@Param("yearOrMonth") String yearOrMonth);

    SysDate selectDate(@Param("date") Date date);

    int checkDateExist(@Param("date") Date date);

    int insertDate(SysDate date);

    int updateDate(SysDate date);

    int deleteDate(@Param("id") Long id);
}
